import  axios from  'axios'

export default class FolderService {
    static folderService = null

    static getInstance(){
        if(this.folderService == null){
            this.folderService = new FolderService()
        }
        return this.folderService
    }

    qc(folderName){
        return axios.get(`http://localhost/recordFolders/${folderName}`,)
    }


    SelectFolder(){
        return axios.get(`http://localhost/recordFolders`)
    }

    save(folder){
        return axios.post(`http://localhost/recordFolders`,folder)
    }

}
